package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.DTRequestDto;
import com.hualude.roadsign.dto.DTResponseDto;
import com.hualude.roadsign.dto.NoticeListDto;

import java.util.List;

/**
 * Created by pjn on 2017/4/20.
 */
public interface NoticeAppService {

    /**
     * @Description:  App图片 datatable
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:12
     */
    public DTResponseDto getNoticeAppSended4DT(DTRequestDto dtRequestDto, Integer userId) throws Exception;

    /**
     * @Description: App图片 添加公告
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:01
     */
    public String addAppNotice(Integer createUserId, String noticeTitle, String noticeContext, String noticePic) throws Exception;

    /**
     * @Description: App轮播图片公告获取
     * @Author: pan-jianan
     * @Date: 2017/4/21 20:49
     */
    public List<NoticeListDto> getAppPicNotice() throws Exception;

    /**
     * @Description: 获取未读公告条数
     * @Author: jiang-weirong
     * @Date: 2017/5/14 15:23
     */
    public Integer getIsReadNotice(Integer userId) throws Exception;
}
